package com.woniuxy.hrms.entity;

/**
 * @program: hrms
 * @description:
 * @create: 2024-08-09 11:48
 **/
public class Hr {
    private String name;
    private int id;
    private double salary;
    private String username;
    private String password;
    private String phone;

    public Hr() {
    }

    public Hr(int id,String name,double salary, String username, String password, String phone) {
        this.name = name;
        this.id = id;
        this.salary = salary;
        this.username = username;
        this.password = password;
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Hr{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", salary=" + salary +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", phone=" + phone +
                '}';
    }
}
